<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://unpkg.com/vue@next"></script>
</head>
<body>
    <div id="app">
        <button v-on:click="btnCli">click</button>
        <button @click="btnCli">click2</button>
    </div>
    
    <script type="text/javascript">
        const app = Vue.createApp({
            data(){
                return{
                }
            },
            methods: {
                btnCli(){
                    console.log('123')
                }
            }
        })
        app.mount('#app')
    </script>
</body>
</html>